package 类和对象课堂练习.封装;

public class Zuoye032812 extends Zuoye03281{
    String fangfa;
    public Zuoye032812(String na, int ag, int ji, String se,String fa){
        super(na,ag,ji,se);
        fangfa=fa;
    }
    public void print(){
        System.out.println(name+"是一名UI老师，上课教同学们"+fangfa+"的方法，用photoshop上课");
        super.print();
    }
}
